/**
* Copyright (c) 2016-2100 yunclouds
*/
package com.yunqian.redot.repository;

import com.yunqian.redot.domain.Banner;
import com.yunqian.repository.BaseRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 轮播图管理信息
 *
 * @author zsy
 * 2018-09-29 16:01:12
 */
@Repository
public interface BannerRepository extends BaseRepository<Banner, Long> {

    /**
     * 根据分类查找
     * @param linkType
     * @return
     */
    List<Banner> findAllByLinkType(Integer linkType);

}
